import { mapState, mapActions, mapGetters } from 'vuex';
export default {
	computed: {
		...mapState({
			COMMON_VAR: state => state.COMMON_VAR,

			USER_MSG: state => state.USER_MSG,
			USER_LOGIN: state => state.USER_LOGIN,

			BLUETOOTH_INIT: state => state.BLUETOOTH_INIT,
			BLUETOOTH_INIT_FORM: state => state.BLUETOOTH_INIT_FORM,
			BLUETOOTH_DEVICE_CONFIG: state => state.BLUETOOTH_DEVICE_CONFIG,

			WRITE_COMMAND_MODE: state => state.WRITE_COMMAND_MODE,
			WRITE_COMMAND_DATA: state => state.WRITE_COMMAND_DATA,
			RESPONSE_COMMAND_MODE: state => state.RESPONSE_COMMAND_MODE,

			SCAN_QRCODE_MAC: state => state.SCAN_QRCODE_MAC,

			WORKING_SCAN: state => state.WORKING_SCAN,
			WORKING_PAY: state => state.WORKING_PAY,
			WORKING_SELECT_FILE: state => state.WORKING_SELECT_FILE,
			WORKING_PREVIEW_IMAGE: state => state.WORKING_PREVIEW_IMAGE,

			WEBSOCKET_CONNECT: state => state.WEBSOCKET_CONNECT,
			WEBSOCKET_COMMADN_EDIT: state => state.WEBSOCKET_COMMADN_EDIT,

			COMMADN_EDIT_TASK_INDEX: state => state.COMMADN_EDIT_TASK_INDEX,
		}),
		// ...mapGetters(['BLUETOOTH_INIT_DEVICE']),
	},
};
